<?

// acme boilerplate
foreach(array("sqlite.php", "mysql.php", "acme.php", "acme.js", "layout.php", "index.php", "style.css", "robots.txt", "plugin-test.php", "bootstrap-examples.php", "auth.php", "rpc.php", "htaccess.txt") as $fn) 
	file_put_contents($fn, file_get_contents("http://acme-web.googlecode.com/svn/$fn"));

// plugins dir
@mkdir("plugins");

// twitter bootstrap
file_put_contents('twitter-bootstrap.zip', file_get_contents("http://acme-web.googlecode.com/svn/twitter-bootstrap.zip"));
system("unzip twitter-bootstrap");
unlink('twitter-bootstrap.zip');

echo "Setup complete..  <a href='index.php'>Index.php</a>";

?>